<include file="Public:header" />
<style type="text/css">
.inputLeader {
	width: 600px
}
</style>
<div class="container">
  <div class="mainbody">  <include file="Public:mallmenu" />
    <div class="rig_lm03">
      <div class="title" ><img src="{$Think.config.static_path}images/listicon.jpg" class="icon" >
        <h2>商城配置</h2>
      </div>
      <div class="detail-tab">
        <form name="form1"  enctype="multipart/form-data" method="post" action="__URL__/saveconfig" role="form" >
		<div class="form-group">
            <label for="exampleInputEmail1">图片</label>
            <notempty name="data.imgurl"><img class="table_imgAdd" src="{$Think.config.IMG_PATH}{$data.imgurl}"></notempty>
            <div class="qq-upload-button"><span id='up_txt'>选择文件</span>
              <input name="imgUrl" id="imgUrl" class="transparent_class"  type="file" onchange="javascript:$('#up_txt').html($('input[type=file]').attr('value'));" />
            </div>
          </div>
          <div class="form-group">
            <label for="name">规则配置<i>*</i></label>
              <textarea style="width:700px;height:500px;" placeholder="内容" name="rule" id="infocontent" class="searcheTxt">{$data.rule}</textarea>
          </div>
           <div class="form-group ">
            <label for="IbtnEnter"></label>
            <button type="sumbit"  id="IbtnEnter" class="btn btn-primary "><span class="glyphicon glyphicon-floppy-saved"></span> 保 存 </button>
          </div>
 <input type="hidden" name="cityid" value="{$data.cityid}">
        </form>
      </div>
    </div>
  </div>
</div>
<include file="Public:footer" /> 
<script type="text/javascript">


$(function(){
	$('#sconfig').addClass('rig_seleli');
	
});

</script> 
